<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
    "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="GNU source-highlight 2.1.2
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite">
<title>../../../../dev/cvs-5_0-branch/marvin/examples/applets/source/view.html</title>
<link rel="stylesheet" href="../../javacode.css" type="text/css">
</head>
<body>
<pre><tt><span class="keyword">&lt;html&gt;</span>
<span class="keyword">&lt;head&gt;</span>
<span class="keyword">&lt;meta</span><span class="normal"> </span><span class="type">NAME</span><span class="symbol">=</span><span class="string">"</span><span class="string">author</span><span class="string">"</span><span class="normal"> </span><span class="type">CONTENT</span><span class="symbol">=</span><span class="string">"</span><span class="string">Peter Csizmadia</span><span class="string">"</span><span class="keyword">&gt;</span>
<span class="keyword">&lt;link</span><span class="normal"> </span><span class="type">REL</span><span class="normal"> </span><span class="symbol">=</span><span class="string">"</span><span class="string">stylesheet</span><span class="string">"</span><span class="normal"> </span><span class="type">TYPE</span><span class="symbol">=</span><span class="string">"</span><span class="string">text/css</span><span class="string">"</span><span class="normal"> </span><span class="type">HREF</span><span class="symbol">=</span><span class="string">"</span><span class="string">../../../marvinmanuals.css</span><span class="string">"</span><span class="normal"> </span><span class="type">TITLE</span><span class="symbol">=</span><span class="string">"</span><span class="string">Style</span><span class="string">"</span><span class="keyword">&gt;</span>
<span class="keyword">&lt;title&gt;</span><span class="normal">MarvinView Example - Creating an advanced molecule table</span><span class="keyword">&lt;/title&gt;</span>
<span class="keyword">&lt;/head&gt;</span>
<span class="keyword">&lt;body</span><span class="normal"> </span><span class="type">onLoad</span><span class="symbol">=</span><span class="string">"</span><span class="string">links_set_search(location.search)</span><span class="string">"</span><span class="keyword">&gt;</span>

<span class="keyword">&lt;h</span><span class="type">1&gt;MarvinView</span><span class="normal"> </span><span class="type">Example</span><span class="normal"> </span><span class="type">-</span><span class="normal"> </span><span class="type">Creating</span><span class="normal"> </span><span class="type">an</span><span class="normal"> </span><span class="type">advanced</span><span class="normal"> </span><span class="type">molecule</span><span class="normal"> </span><span class="type">table&lt;/h1&gt;</span>

<span class="type">&lt;center&gt;</span>
<span class="type">&lt;script</span><span class="normal"> </span><span class="type">LANGUAGE</span><span class="symbol">=</span><span class="string">"</span><span class="string">JavaScript1.1</span><span class="string">"</span><span class="normal"> </span><span class="type">SRC</span><span class="symbol">=</span><span class="string">"</span><span class="string">../../../marvin.js</span><span class="string">"</span><span class="keyword">&gt;</span><span class="keyword">&lt;/script&gt;</span>
<span class="keyword">&lt;script</span><span class="normal"> </span><span class="type">LANGUAGE</span><span class="symbol">=</span><span class="string">"</span><span class="string">JavaScript1.1</span><span class="string">"</span><span class="keyword">&gt;</span>
<span class="comment">&lt;!--</span>
    <span class="function">mview_begin</span><span class="symbol">(</span><span class="string">"../../.."</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300</span><span class="symbol">)</span><span class="symbol">;</span>
    <span class="function">mview_param</span><span class="symbol">(</span><span class="string">"rows"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"2"</span><span class="symbol">)</span><span class="symbol">;</span>
    <span class="function">mview_param</span><span class="symbol">(</span><span class="string">"cols"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"2"</span><span class="symbol">)</span><span class="symbol">;</span>
    <span class="function">mview_param</span><span class="symbol">(</span><span class="string">"cell0"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"|../../../mols-2d/caffeine.csmol"</span><span class="symbol">)</span><span class="symbol">;</span>
    <span class="function">mview_param</span><span class="symbol">(</span><span class="string">"cell1"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"|O[C@H](\C=C\[C@@H](O)C1=CC=CC=C1)C2=CC=CC=C2"</span><span class="symbol">)</span><span class="symbol">;</span>
    <span class="function">mview_param</span><span class="symbol">(</span><span class="string">"cell2"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"|Ethane\n"</span>
    <span class="symbol">+</span><span class="string">"  Marvin  07119915552D\n"</span>
    <span class="symbol">+</span><span class="string">"\n"</span>
    <span class="symbol">+</span><span class="string">"  2  1  0  0  0  0  0  0  0  0999 V2000\n"</span>
    <span class="symbol">+</span><span class="string">"   -0.5625    1.2500    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n"</span>
    <span class="symbol">+</span><span class="string">"   -0.5625    0.2500    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0\n"</span>
    <span class="symbol">+</span><span class="string">"  1  2  1  0  0  0  0\n"</span>
    <span class="symbol">+</span><span class="string">"M  END"</span><span class="symbol">)</span><span class="symbol">;</span>
    <span class="function">mview_param</span><span class="symbol">(</span><span class="string">"cell3"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"|C[C@]12CC[C@@H]3[C@H](CC[C@H]4CC(=O)C(\C[C@]34C)=C\O)[C@@H]1CCC(=O)O2"</span><span class="symbol">)</span><span class="symbol">;</span>
    <span class="function">mview_end</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="comment">//</span><span class="comment">--&gt;</span>
<span class="keyword">&lt;/script&gt;</span>
<span class="keyword">&lt;/center&gt;</span>

<span class="keyword">&lt;/body&gt;</span>
<span class="keyword">&lt;/html&gt;</span>
</tt></pre>
</body>
</html>
